#include "ScnsIwdg.c.h"

#if defined(SCNS_IWDG_ENABLE)&&SCNS_IWDG_ENABLE==1

#include "iwdg.h"

ScnsStatus scnsBspIwdgInit()
{
    MX_IWDG_Init();
    __HAL_DBGMCU_FREEZE_IWDG();
    return SCNS_STATUS_OK;
}

void scnsBspIwdgFeed(void)
{
    HAL_IWDG_Refresh(&hiwdg);
}

#endif